package com.lzw.service;

import com.lzw.pojo.User;

import java.util.List;

public interface UserService {
    //登录业务
    User login(String uname,String upwd);
    //注册业务
    boolean ZhuCe(User user);
    List<User> selectAll();
    List <User> selectAllUname();
    //声明验证账号的业务
    User getUserByName(String uname);
    boolean updateUser(User user);
}
